#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <QVBoxLayout>//垂直
#include <QHBoxLayout>//水平

class Login : public QDialog
{
    Q_OBJECT
public:
    explicit Login(QWidget *parent = 0);

signals:
    void showmain();//显示住界面

public slots:
    //void on_LoginBtn_clicked();
    void HideLogin();
private:
    QLabel *WelcomLabel;
    QLabel *LoginIDLabel;
    QLabel *PswLabel;
    QLineEdit *ID;
    QLineEdit *PSW;
    QPushButton *LoginBtn;
    QPushButton *ExitBtn;
    QVBoxLayout *Textlayout;
    QVBoxLayout *Editlayout;
    QHBoxLayout *Btnlayout;
    QHBoxLayout *TElayout;
    QVBoxLayout *ALLlayout;
};

#endif // LOGIN_H
